<?php

namespace Log;

class LogRecord {
	private $level, $message, $class, $method, $line, $file;
	private $logger;
	
	public function __construct ($level, $message, $class, $method, $file, $line) {
		$this->level	= $level	;
		$this->message	= $message	;
		$this->class	= $class	;
		$this->method	= $method	;
		$this->line		= $line		;
		$this->file		= $file		;
	}

	public function setLogger (Logger $logger) {
		$this->logger = $logger;
	}
	
	public function getLogger () {
		return $this->logger;
	}

	public function getMessage () {
		return $this->message;
	}

	public function getLevel () {
		return $this->level;
	}

	public function getClass () {
		return $this->class;
	}

	public function getMethod () {
		return $this->method;
	}

	public function getLine () {
		return $this->line;
	}

	public function getFile () {
		return $this->file;
	}
}
